Allow / in values
authorMatthias Clasen <mclasen@redhat.com>
Mon, 22 Nov 2010 12:23:18 +0000 (07:23 -0500)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:39:28 +0000 (15:39 +0100)
Otherwise, using url(path) on the right-hand side of properties
is not going to work.

gtk/gtkcssprovider.c

index cb7494768ec9ce695539fe42ab8760842e182860..ac4a35fc803a34f907759726aa3f5434ff4a9124 100644 (file)
@@ -1361,7 +1361,7 @@ scanner_apply_scope (GScanner    *scanner,
   if (scope == SCOPE_VALUE)
     {
       scanner->config->cset_identifier_first = G_CSET_a_2_z "@#-_0123456789" G_CSET_A_2_Z;
-      scanner->config->cset_identifier_nth = G_CSET_a_2_z "@#-_ 0123456789(),.%\t\n'\"" G_CSET_A_2_Z;
+      scanner->config->cset_identifier_nth = G_CSET_a_2_z "@#-_ 0123456789(),.%\t\n'/\"" G_CSET_A_2_Z;
       scanner->config->scan_identifier_1char = TRUE;
     }
   else if (scope == SCOPE_SELECTOR)